Symmetric Encapsulated Multi-Methods

نویسندگان

  • David Lievens
  • Bill Harrison
چکیده

In object systems, classes take the role of modules, and interfaces consist of methods. Because methods are encapsulated in objects, interfaces in object systems do not allow abstracting over where methods are implemented. This implies that any change to the implementation structure may cause a rippling effect. Sometimes this unduly restricts the scope of software evolution, in particular for methods with multiple parameters where there is no clear owner. We propose a simple scheme where symmetric methods may be defined in the classes of any of their parameters. This allows client code to be oblivious of what class contains a method implementation, and therefore immune against it changing. When combined with multiple dynamic dispatch, this scheme allows for modular extensibility where a method defined in one class is overridden by a method defined in a class that is not its subtype. In this paper, we illustrate the scheme by extending a core calculus of class-based languages with these symmetric encapsulated multi-methods, and prove the result sound.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Induction of tumor-specific immunity by multi-epitope rat HER2/neu-derived peptides encapsulated in LPD Nanoparticles.

UNLABELLED The goal of study was first to design multi-epitope peptides from the rat HER2/neu (rHER2/neu) oncogene and then to evaluate the effectiveness of these peptides encapsulated in liposome-polycation-DNA(LPD) nanoparticles (NPs) for the induction of immune response in BALB/c mice. Four multi-epitope peptides derived from the rHER2/neu were designed and different groups of mice were vacc...

متن کامل

Design of a new asymmetric waveguide in InP-Based multi-quantum well laser

Today, electron leakage in InP-based separate confinement laser diode has a serious effect on device performance. Control of electron leakage current is the aim of many studies in semiconductor laser industry. In this study, for the first time, a new asymmetric waveguide structure with n-interlayer for a 1.325 μm InP-based laser diode with InGaAsP multi-quantum well is proposed and theoreticall...

متن کامل

Central form of multiple symmetric lipomatosis: a case report

Multiple symmetric lipomatosis (also known as Madelung's disease, Launois-Bensaude syndrome or benign symmetric lipomatosis) is a rare disease, the etiology of which is unknown. Multiple, symmetric, non-encapsulated lipomatous masses on the face, neck, upper arms, and upper trunk are typical in most cases. Five out of the 200 cases reported in the literature were the distal form of the disease;...

متن کامل

Multiple Access Scheme for Multi-Symbol Encapsulated Orthogonal Frequency Division Multiplexing

A new multiple access scheme using Multi-Symbol Encapsulated Orthogonal Frequency Division Multiplexing (MSE-OFDM) is proposed. This is basically a time division multiple access (TDMA) technique utilizing the MSE-OFDM. The Bit Error Rate (BER) performance of the TDMA system using conventional OFDM is slightly better than that of the proposed system. This weakness is compensated as the proposed ...

متن کامل

O-5: Preparation of Multi-Component Drug Delivery Systems

Background: Despite global interest, the development of single step processes for the preparation of effective drug delivery systems still faces numerous challenges. There is great demand for processing methods that are efficient, flexible, scalable and economical for the generation of wide range of encapsulated structures. Over the past few decades, electrohydrodynamic (EHD) processing has rec...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/1110.3470  شماره 

صفحات  -

تاریخ انتشار 2011